package com.sowka.miko.weather.provider;

import com.sowka.miko.weather.model.Forecast;

/**
 * All weather provider implementations extend this <class>AbstractWeatherProvider</code>.
 * It includes utility methods such as <code>sanitize()</code> that maintain
 * data integrity of the fetched weather forecasts.
 * @author Mike
 *
 */
public abstract class AbstractWeatherProvider implements WeatherProvider {

	protected Forecast forecast;
	
	@Override
	public abstract Forecast fetchForecast();

	/**
	 * Sanitize the collected weather conditions data, e.g., in case the provider
	 * did not fill in the dates set it as new Date for current conditions.
	 */
	private void sanitize() {
		// TODO
	}

}
